package com.zw.re;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.net.UnknownHostException;

/**
 * Created by zwz
 * date 2016/11/24
 * project com.zw.re
 */
@SpringBootApplication(scanBasePackages = "com.zw.re")
public class Application {

    public static void main(String[] args) throws UnknownHostException {
//        System.out.println(InetAddress.getLocalHost().getHostAddress());
//        HostAndPort hostAndPort= HostAndPort.parseString("127.0.0.1:8080");
//        System.out.println(hostAndPort.getHost());
        SpringApplication.run(Application.class);

    }
}
